package com.example.sfm.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(description = "注册信息")
public class RegisterDto {
    @Schema(description = "学号/工号")
    @Size(max = 15)
    @NotBlank
    private String studentId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description  = "手机号")
    private String phone;

    @Schema(description = "真实姓名", deprecated = true)
    @NotBlank @Size(max = 50)
    private String fullName;
}

